package com.sjksy.demo.dto.ledger;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LedgerBranchStatisticDto {

    private Integer branchId; // 对应 b.branch_id
    private String branchName; // 对应 b.branch_name
    private String branchPosition; // 对应 b.branch_position
    private Long orderCount; // 对应 COUNT(l.ledger_id) as order_count
    private BigDecimal totalSales; // 对应 SUM(tc.money) as total_sales

}
